//
//  ObserverPatternTest.m
//  DesignPattern
//
//  Created by 管理员 on 2019/1/8.
//  Copyright © 2019年 Alic. All rights reserved.
//

#import "Customer.h"

@implementation Customer

- (id)initWithName:(NSString *)name {
    self = [super init];
    self.name = name;
    return self;
}

- (void)subscriptionMessage:(id)message subscriptionNumber:(NSString *)subscriptionNumber {
    NSLog(@"%@ %@ %@", message, subscriptionNumber, _name);
}

@end
